<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		
		<script src="../js/axios.min.js" type="text/javascript" charset="utf-8"></script>


		<script type="text/javascript">
			/**
			 * get请求：带参数使用?好拼接
			 * 		URL：http://localhost:8081/findEmpById?id=1
			 * 		返回值：Emp对象的JSON串
			 */
			 
			axios.get("http://localhost:8081/findEmpById?id=1")
				 .then(
					function(result){
						console.log(result.data)
					}
				)
		</script>

	</body>
</html>
